package com.hanhanxiaochong.zhongxiangchuanmei.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by RockPhoenix on 2018/6/2.
 */

public class
OrderBean implements Serializable{

    /**
     * id : 56
     * u_id : 42
     * type : 2
     * state : 5
     * order_num : gxcm101325-741
     * add_time : 1527819205
     * price : 11.00
     * payment : 2
     * is_del :
     * product : [{"id":"46","p_id":"1","deliver":"2","address":"生命科学园","address_id":"110114","s_id":"","collect_name":"哟吼吼","p_num":"1","freight":"11","y_id":"0","phone":"16619794128","o_id":"56","p_name":"水光针","price":"12.12","price_vip":"11.00","sort_id":"0","s_name":"","self_support":"y","pic":"/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg"}]
     */

    private String id;
    private String u_id;
    //1:项目;2:产品
    private String type;
    //订单状态0：下单成功；1：以发货/正在进行中；2:已完成/已收货；3：退单；4退单成功;5待付款；6待评价
    private String state;
    private String order_num;
    private String add_time;
    private String price;
    private String payment;
    private String is_del;
    private String express_name;
    private String express_num;
    private List<ProductBean> product;
    private List<ProjectBean> project;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getIs_del() {
        return is_del;
    }

    public void setIs_del(String is_del) {
        this.is_del = is_del;
    }

    public String getExpress_name() {
        return express_name;
    }

    public void setExpress_name(String express_name) {
        this.express_name = express_name;
    }

    public String getExpress_num() {
        return express_num;
    }

    public void setExpress_num(String express_num) {
        this.express_num = express_num;
    }

    public List<ProductBean> getProduct() {
        return product;
    }

    public void setProduct(List<ProductBean> product) {
        this.product = product;
    }

    public List<ProjectBean> getProject() {
        return project;
    }

    public void setProject(List<ProjectBean> project) {
        this.project = project;
    }


    public static class ProductBean implements Serializable{
        /**
         * id : 46
         * p_id : 1
         * deliver : 2
         * address : 生命科学园
         * address_id : 110114
         * s_id :
         * collect_name : 哟吼吼
         * p_num : 1
         * freight : 11
         * y_id : 0
         * phone : 16619794128
         * o_id : 56
         * p_name : 水光针
         * price : 12.12
         * price_vip : 11.00
         * sort_id : 0
         * s_name :
         * self_support : y
         * pic : /style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg
         */

        //产品订单id
        private String id;
        //	产品id
        private String p_id;
        private String deliver;
        private String address;
        private String address_id;
        //门店id
        private String s_id;
        private String collect_name;
        private String p_num;
        private String freight;
        private String y_id;
        private String phone;
        private String o_id;
        private String p_name;
        private String price;
        private String price_vip;
        private String sort_id;
        private String s_name;
        private String self_support;
        private String pic;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getP_id() {
            return p_id;
        }

        public void setP_id(String p_id) {
            this.p_id = p_id;
        }

        public String getDeliver() {
            return deliver;
        }

        public void setDeliver(String deliver) {
            this.deliver = deliver;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddress_id() {
            return address_id;
        }

        public void setAddress_id(String address_id) {
            this.address_id = address_id;
        }

        public String getS_id() {
            return s_id;
        }

        public void setS_id(String s_id) {
            this.s_id = s_id;
        }

        public String getCollect_name() {
            return collect_name;
        }

        public void setCollect_name(String collect_name) {
            this.collect_name = collect_name;
        }

        public String getP_num() {
            return p_num;
        }

        public void setP_num(String p_num) {
            this.p_num = p_num;
        }

        public String getFreight() {
            return freight;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }

        public String getY_id() {
            return y_id;
        }

        public void setY_id(String y_id) {
            this.y_id = y_id;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getO_id() {
            return o_id;
        }

        public void setO_id(String o_id) {
            this.o_id = o_id;
        }

        public String getP_name() {
            return p_name;
        }

        public void setP_name(String p_name) {
            this.p_name = p_name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice_vip() {
            return price_vip;
        }

        public void setPrice_vip(String price_vip) {
            this.price_vip = price_vip;
        }

        public String getSort_id() {
            return sort_id;
        }

        public void setSort_id(String sort_id) {
            this.sort_id = sort_id;
        }

        public String getS_name() {
            return s_name;
        }

        public void setS_name(String s_name) {
            this.s_name = s_name;
        }

        public String getSelf_support() {
            return self_support;
        }

        public void setSelf_support(String self_support) {
            this.self_support = self_support;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }
    }

    public static class ProjectBean implements Serializable{
        /**
         * id : 18
         * o_id : 88
         * t_id : 3
         * tment_time : 2018-06-04 00:00:00
         * y_id : null
         * r_id : 0
         * p_id : 1
         * p_name : 足疗
         * price : 11.00
         * price_vip : 1.00
         * symptom_id : ,1,2,3,
         * when_long : 10
         * self_support : y
         * pic : /style/images/20180425/058c07f5881d0295795fbfcaf1735283.jpg,/style/images/20180425/258d55960ae0ca731e37774f7a9a2710.jpg,/style/images/20180425/7d86d429daec3ba7e678c17195b83cbb.jpg,/style/images/20180425/b097d09b346a4ca338f28d16e8fdb70e.jpg
         * s_id : null
         * s_name : null
         * symptom_lists : 脸,脸,嘴,
         */

        @SerializedName("id")
        private String project_id;
        private String o_id;
        private String t_id;
        private String tment_time;
        private Object y_id;
        private String r_id;
        private String p_id;
        private String p_name;
        private String price;
        private String price_vip;
        private String symptom_id;
        private String when_long;
        private String self_support;
        private String pic;
        private Object s_id;
        private Object s_name;
        private String symptom_lists;

        public String getProject_id() {
            return project_id;
        }

        public void setProject_id(String project_id) {
            this.project_id = project_id;
        }

        public String getO_id() {
            return o_id;
        }

        public void setO_id(String o_id) {
            this.o_id = o_id;
        }

        public String getT_id() {
            return t_id;
        }

        public void setT_id(String t_id) {
            this.t_id = t_id;
        }

        public String getTment_time() {
            return tment_time;
        }

        public void setTment_time(String tment_time) {
            this.tment_time = tment_time;
        }

        public Object getY_id() {
            return y_id;
        }

        public void setY_id(Object y_id) {
            this.y_id = y_id;
        }

        public String getR_id() {
            return r_id;
        }

        public void setR_id(String r_id) {
            this.r_id = r_id;
        }

        public String getP_id() {
            return p_id;
        }

        public void setP_id(String p_id) {
            this.p_id = p_id;
        }

        public String getP_name() {
            return p_name;
        }

        public void setP_name(String p_name) {
            this.p_name = p_name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice_vip() {
            return price_vip;
        }

        public void setPrice_vip(String price_vip) {
            this.price_vip = price_vip;
        }

        public String getSymptom_id() {
            return symptom_id;
        }

        public void setSymptom_id(String symptom_id) {
            this.symptom_id = symptom_id;
        }

        public String getWhen_long() {
            return when_long;
        }

        public void setWhen_long(String when_long) {
            this.when_long = when_long;
        }

        public String getSelf_support() {
            return self_support;
        }

        public void setSelf_support(String self_support) {
            this.self_support = self_support;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public Object getS_id() {
            return s_id;
        }

        public void setS_id(Object s_id) {
            this.s_id = s_id;
        }

        public Object getS_name() {
            return s_name;
        }

        public void setS_name(Object s_name) {
            this.s_name = s_name;
        }

        public String getSymptom_lists() {
            return symptom_lists;
        }

        public void setSymptom_lists(String symptom_lists) {
            this.symptom_lists = symptom_lists;
        }
    }
}
